'use strict';

import fetch from '../util/fetch.js';

export function getExamInfo(userCode, userName, examCode) {
    return fetch('/exam/start', {userCode: userCode, userName: userName, examCode: examCode}, 'POST');
};

export function setExamInfo(query) {
    return fetch('/exam/submit', query, 'POST');
};
